/*************************************************
* Title：TinyToolKit
* Author：Opportunity 
* Describe：定义UI框架核心参数
* CreateTime：2020-04-05 20:19:31
* Version：1.0
* Modify Recorder：
*************************************************/

namespace TinyToolKit.UI
{
    /// <summary>
    /// 系统常量，全局性方法，枚举类型，委托定义
    /// </summary>
    public class UIManagerDefine
    {
        public const string UI_CANVAS_PATH = "TinyCanvas"; 
        public const string UI_NORMALROOT_PATH = "NormalRoot";
        public const string UI_FIXEDROOT_PATH = "FixedRoot"; 
        public const string UI_POPUPROOT_PATH = "PopUpRoot";  
        public const string UI_SCRIPTSROOT_PATH = "ScriptsRoot"; 
        public const string UI_UIMASK_PATH = "UIMask";
        public const string UI_CAMERA_PATH = "UICamera";  
    }

    #region 系统枚举类型
    /// <summary>
    /// UI窗体的位置类型
    /// </summary>
    public enum UIFormLayerType
    {
        Normal,//普通
        Fixed,//固定
        PopUp//弹出
    }

    /// <summary>
    /// UI窗体的显示类型
    /// </summary>
    public enum UIFormShowType
    {
        Simple,//普通  
        PauseOthers,//暂停其他窗口
        Modal//先打开窗体最后关闭，后打开窗体最先关闭
    }

    /// <summary>
    /// 当前的UI窗体阻挡射线检测的类型
    /// </summary>
    public enum UIFormRaycastType
    {
        Block,
        Allow
    }
    
    /// <summary>
    /// 当前的UI窗体的状态
    /// </summary>
    public enum UIFormStateType 
    {
        None,
        Enter,
        Pause,
        Resume,
        Exit
    }
    #endregion
}
